﻿using System;

namespace TeamCityMonitor.Models
{
    public class CacheStatistics
    {
        public CacheStatistics()
        {
            ID = -1;
            Name = "";
            TotalExecutionTime = NoOfExecutions = MaximumExecutionTime = 0;
            MinimumExecutionTime = long.MaxValue;
            MaximumExecutionTimeDate = MinimumExecutionTimeDate = DateTime.Now;
        }

        public int ID { get; set; }
        public string Name { get; set; }
        public long TotalExecutionTime { get; set; }
        public long NoOfExecutions { get; set; }
        public decimal MeanExecutionTime { get; set; }
        public long MaximumExecutionTime { get; set; }
        public DateTime MaximumExecutionTimeDate { get; set; }
        public long MinimumExecutionTime { get; set; }
        public DateTime MinimumExecutionTimeDate { get; set; }
    }
}